Action hook '{$taxonomy}_pre_add_form'

in WP Core File wp-admin/edit-tags.php at line 431

Description

Fires before the Add Term form for all taxonomies. The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `category_pre_add_form` - `post_tag_pre_add_form`

Occurrences

Filename Line Number
wp-admin/edit-tags.php 431

Parameters

Type Name Description
string $taxonomy The taxonomy slug.

PHP Doc

/**
	 * Fires before the Add Term form for all taxonomies.
	 *
	 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
	 *
	 * Possible hook names include:
	 *
	 *  - `category_pre_add_form`
	 *  - `post_tag_pre_add_form`
	 *
	 * @since 3.0.0
	 *
	 * @param string $taxonomy The taxonomy slug.
	 */